Configure as a Reverse Proxy
2011/03/21 |
Configure Squid as a reverse proxy server. |
|
[1] | Configure Squid |
[root@lan ~]# vi /etc/squid/squid.conf # near line 60: add (allow all http access) http_access allow all # line 64: specify Web server's IP address which listens requests http_port 80 defaultsite=10.0.0.31 # add at the last line cache_peer 10.0.0.31 parent 80 0 no-query originserver [root@lan ~]# /etc/rc.d/init.d/squid restart Stopping squid: ................[ OK ] Starting squid: .[ OK ] |
[2] | Change Settings of DNS or router if needed, and access to verify settings. |